package com.mrx.commons.annotations;

import com.mrx.commons.task.XScheduleTaskController;
import com.mrx.commons.task.config.XScheduleTaskConfig;
import org.springframework.context.annotation.Import;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author Mr.X
 * @since 2023-12-08 13:34
 **/
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Import({XScheduleTaskConfig.class, XScheduleTaskController.class})
public @interface EnableXScheduleTask {
}
